package org.zxp.designpattern.template;

/**
 * @program: effectiveJava
 * @description:
 * @author: X-Pacific zhang
 * @create: 2019-08-23 14:23
 **/
public class Server {
    public static void main(String[] args){
        //全国出单
        PolicyServerQG policyServerQG = new PolicyServerQG();
        policyServerQG.save("全国出单报文");
        System.out.println("=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-");
        //上海出单
        PolicyServerSH policyServerSH = new PolicyServerSH();
        policyServerSH.save("全国出单报文");
        System.out.println("=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-");
        //天津出单
        PolicyServerTJ policyServerTJ = new PolicyServerTJ();
        policyServerTJ.save("全国出单报文");
    }
}
